package com.sina.shop.dao.collect;

import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.collect.CollectBusiness;
import com.sina.shop.domain.collect.CollectGoods;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:收藏商品管理
 * 段浩杰   2018-02-05-11:10
 */
public interface CollectGoodsDao extends BaseDao {

    //根据用户id得到收藏商品列表
    List<CollectGoods> getCollectGoodsListByAdminId(Long adminId);

    //根据id删除收藏商品记录
    Integer deleteCollectGoods(Long id);

    CollectGoods getCollectGoodsByAidAndBid(Long adminId, Long goodsId);
}
